Semantic Update Optimization in Active Databases

نویسندگان

  • Jong P. Yoon
  • Larry Kerschberg
چکیده

In an active database, an update may be constrained by integrity constraints, and may also trigger rules that, in turn, may a ect the database state. The general problem is to e ect the update while also managing the \side-e ects" of constraint enforcement and rule execution. In this paper an update calculus is proposed by which updates, constraints and rules are speci ed and managed within the same formalism. Constraints and production rules are expressed in a constraint language based on rst-order logic. These logic expressions are used to semantically transform an original update into a sequence of updates that re ect the relevant constraints and production rules. The inference mechanism associated with processing a reformulated query ensures that: 1) the preand post-conditions of an update are satis ed, 2) update side-e ects are propagated, and 3) repairs are made to tuples exhibiting constraint violations. Thus, a user-speci ed \update" is transformed, through semantic reformulation techniques, into a sequence of updates which together ensure semantic integrity of the original update as well as its propagated side-e ects. This research was supported in part by an ARPA grant, administered by the O ce of Naval Research under grant number N00014-92-J-4038. This research presents several contributions. Integrity constraints and production rules are expressed in a declarative formalism so that they may be reasoned about. The update calculus formalism handles the semantic reformulation of an update to re ect relevant constraints and rules governing it. Finally, an algorithm is presented to handle constraint enforcement, production rule ring, and subsequent repair actions.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Rewriting Technique for the Analysis and the Optimization of Active Databases

We propose a new formal semantics of active databases based on a transaction rewriting technique in the context of the relational model. A user deened transaction, which is viewed here as a sequence of atomic database updates forming a semantic unit, is translated by means of active rules into induced one(s). Those transactions embody active rule semantics which can be either immediate or defer...

متن کامل

Analysis and optimization of active databases

We introduce a new formal semantics for active databases that relies on a transaction rewriting technique. A user de ned transaction, which is viewed here as a sequence of atomic database updates forming a semantic atomic unit, is translated by means of active rules into induced one(s). Those transactions embody active rule semantics which can be either immediate or deferred. Rule semantics, co...

متن کامل

A Uni ed Constraint Model for XML

Integrity constraints are an essential part of modern schema de nition languages. They are useful for semantic speci cation, update consistency control, query optimization, etc. In this paper, we propose UCM, a model of integrity constraints for XML that is both simple and expressive. Because it relies on a single notion of keys and foreign keys, the UCMmodel is easy to use and makes formal rea...

متن کامل

Automating semantics-based reconciliation for mobile databases

Optimistic replication lets multiple users update local replicas of shared data independently. These replicas may diverge and must be reconciled. In this paper, we present a general-purpose reconciliation system for mobile transactions. The basic reconciliation engine treats reconciliation as an optimization problem. To direct the search, it relies on semantic information and user intents expre...

متن کامل

Consistent Queries over Databases with Integrity Constraints

Integrating data from different sources consists of two main steps, the first in which the various relations are merged together, and the second in which some tuples are removed (or inserted) from the resulting database in order to satisfy integrity constraints. There are several ways to integrate databases or possibly distributed information sources, but whatever integration architecture we ch...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995